package com.anjie.powerproject.pojo;

public class CustomRelationshipCom {
    private Integer id;
    private Integer deviceFrom;
    private Integer deviceTo;
//    private float lossRate;
//    private int typeId;
    private Integer graphId;
    private Integer stgyCode;
    private String workTime;
    private String deviceFromName;
    private String deviceToName;
//    private String typeName;
    private String graphName;
    private String relName;

    public CustomRelationshipCom() {
    }

//    public CustomRelationshipCom(Integer id, Integer deviceFrom, Integer deviceTo, float lossRate, int typeId, Integer graphId, String stgyCode, String workTime, String deviceFromName, String deviceToName, String typeName, String graphName, String relName) {
//        this.id = id;
//        this.deviceFrom = deviceFrom;
//        this.deviceTo = deviceTo;
//        this.lossRate = lossRate;
//        this.typeId = typeId;
//        this.graphId = graphId;
//        this.stgyCode = stgyCode;
//        this.workTime = workTime;
//        this.deviceFromName = deviceFromName;
//        this.deviceToName = deviceToName;
//        this.typeName = typeName;
//        this.graphName = graphName;
//        this.relName = relName;
//    }

//    public CustomRelationshipCom(Integer id, Integer deviceFrom, Integer deviceTo, float lossRate, int typeId, Integer graphId, String stgyCode, String workTime ){
//        this.id = id;
//        this.deviceFrom = deviceFrom;
//        this.deviceTo = deviceTo;
//        this.lossRate = lossRate;
//        this.typeId = typeId;
//        this.graphId = graphId;
//        this.stgyCode = stgyCode;
//        this.workTime = workTime;
//    }


    public CustomRelationshipCom(Integer id, Integer deviceFrom, Integer deviceTo, Integer graphId, Integer stgyCode, String workTime, String deviceFromName, String deviceToName, String graphName, String relName) {
        this.id = id;
        this.deviceFrom = deviceFrom;
        this.deviceTo = deviceTo;
        this.graphId = graphId;
        this.stgyCode = stgyCode;
        this.workTime = workTime;
        this.deviceFromName = deviceFromName;
        this.deviceToName = deviceToName;
        this.graphName = graphName;
        this.relName = relName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceFrom() {
        return deviceFrom;
    }

    public void setDeviceFrom(Integer deviceFrom) {
        this.deviceFrom = deviceFrom;
    }

    public Integer getDeviceTo() {
        return deviceTo;
    }

    public void setDeviceTo(Integer deviceTo) {
        this.deviceTo = deviceTo;
    }

//    public float getLossRate() {
//        return lossRate;
//    }

//    public void setLossRate(float lossRate) {
//        this.lossRate = lossRate;
//    }

//    public int getTypeId() {
//        return typeId;
//    }

//    public void setTypeId(int typeId) {
//        this.typeId = typeId;
//    }

    public Integer getGraphId() {
        return graphId;
    }

    public void setGraphId(Integer graphId) {
        this.graphId = graphId;
    }

    public Integer getStgyCode() {
        return stgyCode;
    }

    public void setStgyCode(Integer stgyCode) {
        this.stgyCode = stgyCode;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public String getDeviceFromName() {
        return deviceFromName;
    }

    public void setDeviceFromName(String deviceFromName) {
        this.deviceFromName = deviceFromName;
    }

    public String getDeviceToName() {
        return deviceToName;
    }

    public void setDeviceToName(String deviceToName) {
        this.deviceToName = deviceToName;
    }

//    public String getTypeName() {
//        return typeName;
//    }

//    public void setTypeName(String typeName) {
//        this.typeName = typeName;
//    }

    public String getGraphName(){
        return graphName;
    }

    public void  setGraphName(String graphName){
        this.graphName = graphName;
    }

    public String getRelName() { return relName; }

    public void setRelName(String relName) { this.relName = relName; }
}
